<?php
// +----------------------------------------------------------------------
// | WoShiMaiJia Projcet 
// +----------------------------------------------------------------------
// | Copyright (c) 2010-2011 http://woshimaijia.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: xinqiyang <xinqiyang@gmail.com>
// +----------------------------------------------------------------------


/**
 * dev Project Path
 */
define('PUB_MODE','WEB');  //set the public mode  web/cli 
//set app path
define('APP_NAME','Dev');
define('APP_PATH',dirname(__FILE__));
define('ACTION_PATH',dirname(dirname(__FILE__)).'/Actions');
define('TEMP_PATH',dirname(dirname(__FILE__)).'/Temp');
define('VIEW_PATH',dirname(dirname(__FILE__)).'/Views');


//buddy path
define('BUDDY_PATH','/home/xinqiyang/wwwroot/buddy/trunk');

//this is dev mode ,if you use the product mode then change the dev to product
define('CONF_PATH',dirname(dirname(dirname(dirname(__FILE__)))).'/Config/dev');

//load framework
require BUDDY_PATH.'/Loader.php';
//then run app instance
App::run();